/**
 * 
 */
package com.sunwayhorizo.health.business.clinic.emr.template;

import java.util.List;

import javax.ejb.Local;

import com.sunwayhorizo.health.business.dto.ResultsDTO;
import com.sunwayhorizo.health.business.dto.clinic.emr.template.MedicalImgDTO;
import com.sunwayhorizo.health.hl7.common.Hl7Exception;

/**
 * @ClassName MedicalImgManagerLocal <br>
 * @PackageName com.sunwayhorizo.health.business.clinic.emr.template <br>
 * @Description 医学图片维护，接口 <br>
 * @Author jinzw <br>
 * @Date 2011-04-3=07 <br>
 * @Version 1.0 <br>
 * @ModifiedDesc <br>
 * @ModifiedDate <br>
 * @ModifiedBy <br>
 * @Copyright 2010-2020 北京三维海容 All Rights Reserved. <br>
 */
@Local
public interface MedicalImgManagerLocal {
   
	/**
	 * 新建医疗图片
	 * @param medicalImgDTO
	 * @return
	 * @throws Hl7Exception
	 */
	public ResultsDTO newMedicalImg(MedicalImgDTO medicalImgDTO) throws Hl7Exception;
	
	/**
	 * 根据id删除医疗图片
	 * @param id
	 * @return
	 * @throws Hl7Exception
	 */
	@SuppressWarnings("rawtypes")
	public ResultsDTO delMedicalImg(List ids) throws Hl7Exception;
	
	/**
	 * 修改医疗图片
	 * @param medicalImgDTO
	 * @return
	 * @throws Hl7Exception
	 */
	public ResultsDTO updateMedicalImg(MedicalImgDTO medicalImgDTO) throws Hl7Exception;
	
	/**
	 * 查询所有的医疗图片列表，不包含二进制信息
	 * 因为这里的医学图片并不是很多，所以可以这样干
	 * @return
	 * @throws Hl7Exception
	 */
	public ResultsDTO findMedicalImgList() throws Hl7Exception;
	
	/**
	 * 查询医疗图片，包含二进制数据
	 * @param id
	 * @return
	 * @throws Hl7Exception
	 */
	public ResultsDTO findMedicalImg(String id) throws Hl7Exception;
	
}
